From 7d25fcefa9e2a5aa160177283b4f1ef42121c94c Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 18 Jan 2008 13:40:22 +0000 Subject: [PATCH] Revert network-nat script changes introduced by 16739:33dcf04d77152. Signed-off-by: Keir Fraser --- tools/examples/network-nat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/examples/network-nat b/tools/examples/network-nat index 165d92ca68..62d2b0c259 100644 --- a/tools/examples/network-nat +++ b/tools/examples/network-nat @@ -43,9 +43,9 @@ fi function dhcp_start() { - if ! grep -q "subnet 192.0.2.0" "$dhcpd_conf_file" + if ! grep -q "subnet 10.0.0.0" "$dhcpd_conf_file" then - echo >>"$dhcpd_conf_file" "subnet 192.0.2.0 netmask 255.255.255.0 {}" + echo >>"$dhcpd_conf_file" "subnet 10.0.0.0 netmask 255.255.0.0 {}" fi "$dhcpd_init_file" restart @@ -55,7 +55,7 @@ function dhcp_start() function dhcp_stop() { local tmpfile=$(mktemp) - grep -v "subnet 192.0.2.0" "$dhcpd_conf_file" >"$tmpfile" + grep -v "subnet 10.0.0.0" "$dhcpd_conf_file" >"$tmpfile" if diff "$tmpfile" "$dhcpd_conf_file" >&/dev/null then rm "$tmpfile" -- 2.30.2